<?php
class main
{
	protected $debug = FALSE;
	
	public function set_debug()
	/*
	Activa el debug del programa
	*/
	{
		$this->debug = TRUE;
	}

	protected function outline($parameters, $class, $function)
	/*
	Realiza una traza del programa
	*/
	{
		printf("<p><strong>%s</strong> :: %s: (",$class, $function);
		foreach($parameters as $parname => $par)
			if(is_array($par)){
                printf(" Array{ ");
                foreach($par as $subparname => $subpar)
                    printf(" %s ,",$subpar);
                printf("}, ");
            }
            else printf(" %s ,",$par);
		printf(")</p>");
	}

}
?>